﻿using System.Windows.Forms;
namespace BCv29
{
	//To prevent Visual Studio from thinking this ISNT a form file.
	[System.ComponentModel.DesignerCategory("Form")]
	public partial class BrickCreatorForm : Form
	{
		public BrickCreatorForm()
		{
			InitializeComponent();
		}

		private void BrickCreatorForm_Closing(object sender, FormClosingEventArgs e)
		{
			//Instead of putting it to save whenever the text in the name box changes,
			//I made the efficient choice to only make it save right when the program is closing.

			Properties.Settings.Default.Name = nameBox.Text;
			Properties.Settings.Default.Save();
		}
	}
}